tracker: Turn on fts
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Feb 2015 21:42:39 +0000 (16:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Feb 2015 21:44:21 +0000 (16:44 -0500)
We want to match what nautilus does, and the non-fts query
ignores the location, which yields somewhat broken UI in
the file chooser.

gtk/gtksearchenginetracker.c

index 6bc5e20f057e7364aa9c1c4b2d5f7650f5a26e56..f5a428cfb2a8c8596a9b5302d41b89db526dfae1 100644 (file)
@@ -50,7 +50,7 @@
  * use filename matching instead. This doesn’t use the content of the
  * file however.
  */
-#undef FTS_MATCHING
+#define FTS_MATCHING
 
 /*
  * GtkSearchEngineTracker object
@@ -392,6 +392,8 @@ gtk_search_engine_tracker_start (GtkSearchEngine *engine)
 
   tracker->priv->query_pending = TRUE;
 
+  g_debug ("SearchEngineTracker: query: %s", sparql->str);
+
   get_query_results (tracker, sparql->str, query_callback, tracker);
 
   g_string_free (sparql, TRUE);